package cn.yhr.summerboot.core.util;

/**
 * @Tittle Assert
 * @Description
 * @Author yhr
 * @Date 2018/11/28 15:40
 * @Version 1.0
 */
public final class Assert {
    private Assert(){}

    public static void notNull(Object object, String message) {
        if (object == null) {
            throw new IllegalArgumentException(message);
        }
    }
}
